<template>
  <div>
    <AttrsSon
      id="xxx"
      src="https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png"
      @fn="fatherFn"
      @click="fatherClick"
    />
  </div>
</template>
<script>
import AttrsSon from './components/attrsSon'
export default {
  components: {
    AttrsSon
  },
  methods: {
    fatherFn() {
      console.log('fatherFn')
    },
    fatherClick() {
      console.log('fatherClick')
    }
  }
}
</script>
<style></style>
